home *** CD-ROM | disk | FTP | other *** search
/ 600 Games / 600games.iso / Classicos / Pac Man.swf / scripts / DefineButton2_110 / BUTTONCONDACTION on(keyPress Up).as
Encoding:
Text File  |  2006-06-13  |  248 b   |  13 lines

  1. on(keyPress "<Up>"){
  2.    pmovenew = "up";
  3.    if(up eq "1" and re eq "1")
  4.    {
  5.       if(stop eq "0")
  6.       {
  7.          setProperty("/dot", _Y, doty - "10");
  8.          setProperty("/dot", _rotation, "270");
  9.          re = "0";
  10.       }
  11.    }
  12. }
  13.